package com.example.esjdsearch.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * Created by bothin
 * At 2020/4/11 11:06
 * Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Document(indexName = "demo",type = "_doc",shards = 3,replicas = 0)
public class Content {

    private String img;

    private String title;

    private double price;

}
